//
//  AppDelegate+Setup.swift
//  GSD-SwiftAPP
//
//  Created by Steve on 2019/10/17.
//  Copyright © 2019 faker. All rights reserved.
//

import Foundation
import IQKeyboardManagerSwift

extension AppDelegate {
    
    func setup(_ option: [AnyHashable: Any]?) {
        
    }
     
    /// 初始化 键盘
    func setupIQ() {
        IQKeyboardManager.shared.enable = true
        IQKeyboardManager.shared.enableAutoToolbar = false
        IQKeyboardManager.shared.shouldResignOnTouchOutside = true
        
//        let controllers = [LiveMallViewController.self,
//                           WebViewController.self,
//                           FastCommentViewController.self]
//
//        IQKeyboardManager.shared.disabledDistanceHandlingClasses = controllers
    }
}
